
//
//  JCLWeiBoCommon.swift
//  WeiBo
//
//  Created by DDC on 2017/9/12.
//  Copyright © 2017年 DDC. All rights reserved.
//

import Foundation
//定义全局变量
// i123-2.00Zzp2lBGCpNlB4f03a33ce903ChTx
// i1234-2.00Zzp2lB9kzLnC8f4a6dec9enS9gME
// MARK:  - 应用程序信息
// ID
let JCLAppID = "1613915062"
// 回调地址
let JCLRedirectURI = "http://www.baidu.com"
// AppSecret
let JCLAppSecret = "7ae77eaa83887c4cbe9e5d32ff911ed6"


// MARK:  - 通知信息
// 登录按钮通知name
let JCLUserShouldLoginNotification = "JCLUserShouldLoginNotification "
// 用户授权登录成功通知
let JCLUserOAuthSuccessedNotificaton = "JCLUserOAuthSuccessedNotificaton" 

// 图片点击通知
let JCLStatusCellBrowserPhotoNotification = "JCLStatusCellBrowserPhotoNotification"

/// 选中照片索引
let JCLStatusSelectedIndexNotificationKey = "JCLStatusSelectedIndexNotificationKey"
/// 浏览照片 URL
let JCLStatusURLsNotificationKey = "JCLStatusURLsNotificationKey"
/// 父视图的图像视图数组
let JCLStatusImageViewsNotificationKey = "JCLStatusImageViewsNotificationKey"
 
/// 计算配图视图的高度
/// 定义所需要的常量
let jclPictureOuterMargin:CGFloat = 12
let jclPictureInterMargin:CGFloat = 3
let jclPictureViewWidth = UIScreen.hm_screenWidth() - 2 * jclPictureOuterMargin
let jclPictureItemWidth = (jclPictureViewWidth - 2 * jclPictureInterMargin) / 3
